package com.epalmpay.service.trade;

import com.epalmpay.dto.datareport.TradeCheckedInDTO;
import com.epalmpay.dto.system.BaseOutDTO;
import com.epalmpay.dto.system.TradeOfflineBaseOutDTO;
import com.epalmpay.dto.trade.DeviceOfflineRecordInDTO;
import com.epalmpay.dto.trade.DeviceOfflineRecordListOutDTO;
import com.epalmpay.entity.Page;
import com.epalmpay.entity.TradeOffline;
import com.epalmpay.exception.ApplicationException;

import java.util.List;

/**
 * Created by wucongpeng on 2017/5/4.
 */
public interface IDevOfflineRecordService {




    /**交易记录列表分页
     * @return
     * @throws Exception
     */
    public List<TradeOffline> listOfflineRecords(DeviceOfflineRecordInDTO deviceOfflineRecordInDTO, Page page)throws Exception;

    /**通过id获取数据
     * @return
     * @throws Exception
     */
    public TradeOffline offlinefindById(TradeOffline offline)throws Exception;
    public TradeOffline offlinefindByOrderId(TradeOffline offline)throws Exception;
    public String offlineOldOrderIdfindByOrderId(Long id)throws Exception;
    
    public TradeOfflineBaseOutDTO updateTkReimburse(DeviceOfflineRecordInDTO deviceOfflineRecordInDTO)throws ApplicationException;

	public List<TradeOffline> listCheckOfflineRecords(TradeCheckedInDTO offlineRecordInDTO, Page page)throws ApplicationException;

    DeviceOfflineRecordListOutDTO queryXYJTradeList(DeviceOfflineRecordInDTO offlineRecordInDTO, Page page)throws ApplicationException;
}
